package com.qf.service.impl;

import com.qf.dao.ActorDao;
import com.qf.pojo.resp.BaseResp;
import com.qf.pojo.vo.Actor;
import com.qf.service.ActorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActorServiceImpl implements ActorService {

    @Autowired
    ActorDao actorDao;

    @Override
    public BaseResp findActroByMovie(Integer movieId) {
        List<Actor> actorByMoive = actorDao.findActorByMoive(movieId);
        return new BaseResp(0,"",null,actorByMoive);
    }


}
